<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>忘记密码</title>
</head>
<body>
    <h1>忘记密码</h1>
    
    <form th:action="@{/forgot-password}" method="post">
        <label for="email">请输入您的注册邮箱：</label>
        <input type="email" id="email" name="email" required>
        <button type="submit">提交</button>
    </form>
    
    <p th:if="${param.success}">重置密码链接已发送至您的邮箱。</p>
    <p th:if="${param.error}">找不到与该邮箱相关的用户。</p>
</body>
</html>
